package com.learnyou.server.xingzuo.dao.repository.service;

import com.learnyou.server.xingzuo.dao.repository.entity.Account;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 账号 服务类
 * </p>
 *
 * @author heweifeng
 * @since 2023-11-30
 */
public interface IAccountService extends IService<Account> {

    List<Account> findByDeviceNo(String deviceNo);

    Account findByDeviceNoAndPhone(String deviceNo, String phone);

    List<Account> findByPhone(String phone);
}
